/*
 * @Author: 橘子
 * @Date: 2022-11-18 20:01:29
 * @Project_description: 项目介绍
 * @Description: 代码是我抄的，不会也是真的
 */
import Vue from 'vue'
import d2Container from './d2-container'
import Editor from './y-editor'
import Image from './y-image'
import ImportExl from './y-import-exl'
import Map from './y-map'
import Pdf from './y-pdf'
import UploadImg from './y-upload-img'
//组织树
import TreeSelect from '@riophae/vue-treeselect'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
//svg图标选择
import iconSelect from '@/components/y-icon-select'
import svgSelect from '@/components/y-svg-select'
//备注
import remark from '@/components/y-remark'

// 注意 有些组件使用异步加载会有影响
Vue.component('d2-container', d2Container)
Vue.component('y-pdf', Pdf)
Vue.component('y-map', Map)
Vue.component('y-import-exl', ImportExl)
Vue.component('y-image', Image)
Vue.component('y-upload-img', UploadImg)
Vue.component('y-editor', Editor)
Vue.component('y-tree', TreeSelect)
Vue.component('y-svg-select', svgSelect)
Vue.component('y-icon-select', iconSelect)
Vue.component('y-remark', remark)
Vue.component('d2-highlight', () => import('./d2-highlight'))
Vue.component('d2-icon', () => import('./d2-icon'))
Vue.component('d2-icon-svg', () => import('./d2-icon-svg/index.vue'))
